﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:Controls="clr-namespace:External.Controls.Controls"
                    x:Class="External.Controls.Resources.Styles.c__users_vadimptr_desktop_cashier_solutioneditorcashier_cashier_resources_styles_resources_xaml">
    
    <Canvas x:Key="FootballCanvas" Width="560" Height="280">

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="0"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="35" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="70"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="105" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="140"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="175" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="210"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="245" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="280"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="315" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="350"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="385" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="420"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="455" StrokeThickness="0"/>

        <Rectangle Fill="#2E7B02" Width="35" Height="280" Canvas.Left="490"  StrokeThickness="0" />
        <Rectangle Fill="#2E9402" Width="35" Height="280" Canvas.Left="525" StrokeThickness="0"/>

        <Rectangle Stroke="White" StrokeThickness="2" Width="540" Height="260" Canvas.Left="10" Canvas.Top="10" Fill="Transparent" />

        <Line X1="280" Y1="10" X2="280" Y2="270" Stroke="White" StrokeThickness="2" />

        <Rectangle Stroke="White" StrokeThickness="2" Width="80" Height="140" Canvas.Left="10" Canvas.Top="70" Fill="Transparent" />
        <Rectangle Stroke="White" StrokeThickness="2" Width="80" Height="140" Canvas.Left="470" Canvas.Top="70" Fill="Transparent" />

        <Rectangle Stroke="White" StrokeThickness="2" Width="30" Height="60" Canvas.Left="10" Canvas.Top="110" Fill="Transparent" />
        <Rectangle Stroke="White" StrokeThickness="2" Width="30" Height="60" Canvas.Left="520" Canvas.Top="110" Fill="Transparent" />

        <Ellipse Stroke="White" StrokeThickness="2" Width="120" Height="120" Canvas.Left="220" Canvas.Top="80" Fill="Transparent" />
        <Ellipse Stroke="White" StrokeThickness="2" Width="10" Height="10" Canvas.Left="275" Canvas.Top="135" Fill="White" />

        <Path Stroke="White" StrokeThickness="2" Height="20" Width="20" Data="M 20 0 A 20 20 45 0 1 0 20" Canvas.Left="10" Canvas.Top="10" Fill="Transparent"/>
        <Path Stroke="White" StrokeThickness="2" Height="20" Width="20" Data="M 0 0 A 20 20 45 0 1 20 20" Canvas.Left="10" Canvas.Top="250" Fill="Transparent"/>
        <Path Stroke="White" StrokeThickness="2" Height="20" Width="20" Data="M 0 0 A 20 20 45 0 0 20 20" Canvas.Left="530" Canvas.Top="10" Fill="Transparent"/>
        <Path Stroke="White" StrokeThickness="2" Height="20" Width="20" Data="M 0 20 A 20 20 45 0 1 20 0" Canvas.Left="530" Canvas.Top="250" Fill="Transparent"/>

        <Path Stroke="White" StrokeThickness="2" Height="60" Width="15" Data="M 0 0 A 20 20 45 0 1 0 20" Canvas.Left="88" Canvas.Top="110" Fill="Transparent"/>
        <Path Stroke="White" StrokeThickness="2" Height="60" Width="15" Data="M 0 0 A 20 20 45 0 0 0 20" Canvas.Left="457" Canvas.Top="110" Fill="Transparent"/>
    </Canvas>

    <Canvas x:Key="LegendBoard">
        <Border BorderBrush="LightGray" Background="White" BorderThickness="3" Width="250" Height="170" CornerRadius="8">
            <Grid Margin="3">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <Border CornerRadius="3" Background="Pink" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Column="1" Text="100 - 500 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

                <Border Grid.Row="1" CornerRadius="3" Background="LightGreen" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="1" Grid.Column="1" Text="120 - 400 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

                <Border Grid.Row="2" CornerRadius="3" Background="SkyBlue" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="2" Grid.Column="1" Text="220 - 600 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

                <Border Grid.Row="3" CornerRadius="3" Background="Violet" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="3" Grid.Column="1" Text="120 - 380 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

            </Grid>
        </Border>
    </Canvas>

    <Canvas x:Key="SectionLegendBoard">
        <Border BorderBrush="LightGray" Background="White" BorderThickness="3" Width="250" Height="170" CornerRadius="8">
            <Grid Margin="3">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <Border CornerRadius="3" Background="Red" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Column="1" Text="500 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

                <Border Grid.Row="1" CornerRadius="3" Background="Blue" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="1" Grid.Column="1" Text="300 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

                <Border Grid.Row="2" CornerRadius="3" Background="Green" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="2" Grid.Column="1" Text="100 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                
                <Border Grid.Row="3" CornerRadius="3" Background="Orange" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="3" Grid.Column="1" Text="100 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                
                <Border Grid.Row="4" CornerRadius="3" Background="Violet" Width="30" Height="20" Margin="10" BorderThickness="1" BorderBrush="DarkGray"/>
                <TextBlock Grid.Row="4" Grid.Column="1" Text="80 рублей" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center"/>

            </Grid>
        </Border>
    </Canvas>

    <TextBlock x:Key="LinkBack">
         <Hyperlink Command="{Binding Path=NavigationCommand, RelativeSource={RelativeSource AncestorType={x:Type Controls:HallCanvas}}}" 
                    CommandParameter="{Binding Hall}">
            <TextBlock Text="Вернуться на главную 'Схема стадиона Химик'" FontSize="20" />        
        </Hyperlink>
    </TextBlock>

</ResourceDictionary>